package com.jnzc.ocr.serv.shop.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

@ApiModel(description = "店铺营销规则信息")
public class ShopMarketingRule {
    @ApiModelProperty(value = "店铺营销规则ID")
    @TableId
    private Long id;
    @ApiModelProperty(value = "店铺ID")
    private Long shopId;
    @ApiModelProperty(value = "营销类型(1: 充值送积分, 2: 满送, 3: 折扣)")
    private Integer marketingType;
    @ApiModelProperty(value = "营销类型名称")
    private String marketingTypeName;
    @ApiModelProperty(value = "达标金额")
    private BigDecimal amountLine;
    @ApiModelProperty(value = "积分")
    private Integer point;
    @ApiModelProperty(value = "折扣")
    private BigDecimal discount;
    @ApiModelProperty(value = "金额")
    private BigDecimal amount;
    @ApiModelProperty(value = "描述")
    private String description;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getShopId() {
        return shopId;
    }

    public void setShopId(Long shopId) {
        this.shopId = shopId;
    }

    public Integer getMarketingType() {
        return marketingType;
    }

    public void setMarketingType(Integer marketingType) {
        this.marketingType = marketingType;
    }

    public String getMarketingTypeName() {
        return marketingTypeName;
    }

    public void setMarketingTypeName(String marketingTypeName) {
        this.marketingTypeName = marketingTypeName;
    }

    public BigDecimal getAmountLine() {
        return amountLine;
    }

    public void setAmountLine(BigDecimal amountLine) {
        this.amountLine = amountLine;
    }

    public Integer getPoint() {
        return point;
    }

    public void setPoint(Integer point) {
        this.point = point;
    }

    public BigDecimal getDiscount() {
        return discount;
    }

    public void setDiscount(BigDecimal discount) {
        this.discount = discount;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}